<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script language="JavaScript" src="js/easyui/jquery.min.js"></script>
<script language="JavaScript" src="js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript">
$(function(){
	$("#saveUser").on("click",function(){
		$.ajax({
            url:"addUser",
           	data:{"name":"chenpeng","userPassword":"123456"},
            success:function(data){
           	 	alert("成功");
            }
        });
	})
})

</script>
</head>
<body>
hello
<input type="button" id="saveUser" value="单个保存用户"></input>
</body>
</html>